* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: #f5f5f5;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100vw;
}

.app-content {
  flex: 1;
  padding-bottom: 50px;
  /* 为底部导航栏留出空间 */
}

.app-tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 56px;
  background-color: #fff;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
  border-top: 1px solid #ececec;
  padding: 0;
}

.app-tabbar-item {
  flex: 1;
  text-align: center;
  padding: 8px 0; /* 可以改成 padding: 8px 10px; 让内容更舒展 */
  border-right: 1px solid #ececec;
}
.app-tabbar-item:last-child {
  border-right: none;
}

/* 响应式调整 */
@media only screen and (min-width: 768px) {
  .app-container {
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  }

  .app-tabbar {
    max-width: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 32px; /* 大屏左右padding更大 */
  }
}

@media only screen and (min-width: 1200px) {
  .app-container {
    max-width: 1000px;
  }

  .app-tabbar {
    max-width: 1000px;
  }
}

/* 列表样式 */
.adm-list-item-content-main {
  padding: 12px 0;
}

/* 卡片样式 */
.travel-card {
  margin: 12px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 图片性能优化 */
img {
  content-visibility: auto;
}

.travel-card-cover {
  width: 100%;
  height: 160px;
  object-fit: cover;
  will-change: opacity;
  transition: opacity 0.3s ease;
}

/* 优化图片加载 */
@media (prefers-reduced-data: reduce) {
  img {
    resolution: 72dpi;
  }
}

.travel-card-content {
  padding: 12px;
}

.travel-card-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.travel-card-info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #999;
}

.read-the-docs {
  color: #888;
}